package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * f分销积分记录对象 re_account
 * 
 * @author ruoyi
 * @date 2023-12-27
 */
public class ReAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 积分 */
    @Excel(name = "积分")
    private Long bonus;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 预约开户记录ID */
    @Excel(name = "预约开户记录ID")
    private Long reInfiId;

    /** 预约编号 */
    @Excel(name = "预约编号")
    private String reNumber;

    /** 分销用户id */
    @Excel(name = "分销用户id")
    private Long ratingId;

    /** 分销用户名 */
    @Excel(name = "分销用户名")
    private String ratingName;

    /** 分销等级 */
    @Excel(name = "分销等级")
    private String rating;

    /** 预约企业名称 */
    @Excel(name = "预约企业名称")
    private String company;

    /** 账户性质 */
    @Excel(name = "账户性质")
    private String accountType;

    /** 接洽时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "接洽时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date acceptDate;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    private String orgName;

    /** 体现标志（0代表未体现 1代表已提现） */
    private String cashState;

    /** openId */
    private String openId;
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBonus(Long bonus) 
    {
        this.bonus = bonus;
    }

    public Long getBonus() 
    {
        return bonus;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setReInfiId(Long reInfiId) 
    {
        this.reInfiId = reInfiId;
    }

    public Long getReInfiId() 
    {
        return reInfiId;
    }
    public void setReNumber(String reNumber) 
    {
        this.reNumber = reNumber;
    }

    public String getReNumber() 
    {
        return reNumber;
    }
    public void setRatingId(Long ratingId) 
    {
        this.ratingId = ratingId;
    }

    public Long getRatingId() 
    {
        return ratingId;
    }
    public void setRatingName(String ratingName) 
    {
        this.ratingName = ratingName;
    }

    public String getRatingName() 
    {
        return ratingName;
    }
    public void setRating(String rating) 
    {
        this.rating = rating;
    }

    public String getRating() 
    {
        return rating;
    }
    public void setCompany(String company) 
    {
        this.company = company;
    }

    public String getCompany() 
    {
        return company;
    }
    public void setAccountType(String accountType) 
    {
        this.accountType = accountType;
    }

    public String getAccountType() 
    {
        return accountType;
    }
    public void setAcceptDate(Date acceptDate) 
    {
        this.acceptDate = acceptDate;
    }

    public Date getAcceptDate() 
    {
        return acceptDate;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getCashState() {
        return cashState;
    }

    public void setCashState(String cashState) {
        this.cashState = cashState;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bonus", getBonus())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("reInfiId", getReInfiId())
            .append("reNumber", getReNumber())
            .append("ratingId", getRatingId())
            .append("ratingName", getRatingName())
            .append("rating", getRating())
            .append("company", getCompany())
            .append("accountType", getAccountType())
            .append("acceptDate", getAcceptDate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
                .append("orgName", getOrgName())
                .append("cashState", getCashState())
                .append("openId", getOpenId())
            .toString();
    }
}
